3 External BFS
نویسندگان
چکیده
In this paper we study External A*, a variant of the conventional (internal) A* algorithm that makes use of external memory, e.g., a hard disk. The approach applies to implicit, undirected, unweighted state space problem graphs with consistent estimates. It combines all three aspects of best-first search, frontier search and delayed duplicate detection and can still operate on very small internal memory. The complexity of the external algorithm is almost linear in external sorting time and accumulates to O(sort(|E|) + scan(|V |)) I/O operations, where V and E are the set of nodes and edges in the explored portion of the state space graph. Given that delayed duplicate elimination has to be performed, the established bound is I/O optimal. In contrast to the internal algorithm, we exploit memory locality to allow blockwise rather than random access. The algorithmic design refers to external shortest path search in explicit graphs and extends the strategy of delayed duplicate detection recently suggested for breadth-first search to best-first search. We conduct experiments with sliding-tile puzzle instances.
منابع مشابه
Improved external memory BFS implementations ∗
Breadth first search (BFS) traversal on massive graphs in external memory was considered non-viable until recently, because of the large number of I/Os it incurs. Ajwani et al. [3] showed that the randomized variant of the o(n) I/O algorithm of Mehlhorn and Meyer [24] (MM BFS) can compute the BFS level decomposition for large graphs (around a billion edges) in a few hours for small diameter gra...
متن کاملBreadth First Search on Massive Graphs
We consider the problem of Breadth First Search (BFS) traversal on massive sparse undirected graphs. Despite the existence of simple linear time algorithms in the RAM model, it was considered non-viable for massive graphs because of the I/O cost it incurs. Munagala and Ranade [29] and later Mehlhorn and Meyer [27] gave efficient algorithms (refered to as MR BFS and MM BFS, respectively) for com...
متن کاملModels of Computation External Memory, Cache-Oblivious, and Multi-Core Algorithms
1 External Memory Algorithms 2 1.1 Surveys and Books . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Own Papers on the Subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 The Memory Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.4 The Parallel Disk Model of Aggarwal/Vitter . . . . . . . . . . ...
متن کاملAn Implementation of I/O-Efficient Dynamic Breadth-First Search Using Level-Aligned Hierarchical Clustering
In the past a number of I/O-efficient algorithms were designed to solve a problem on a static data set. However, many data sets like social networks or web graphs change their shape frequently. We provide experimental results of the first external-memory dynamic breadth-first search (BFS) implementation based on earlier theoretical work [13] that crucially relies on a randomized clustering. We ...
متن کاملBiochemical progression-free survival in localized prostate cancer patients treated with definitive external beam radiotherapy
INTRODUCTION Prostate cancer is now the third most frequent noncutaneous malignancy in Iranian men and the fifth most common cancer worldwide. Measurement of total serum prostate specific antigens (PSAs) has been one of the strongest predictors of biochemical progression and overall survival in determining the efficacy of definitive external beam radiation therapy in patients with localized pro...
متن کاملExternal-Memory Breadth-First Search with Sublinear I/O
Breadth-first search (BFS) is a basic graph exploration technique. We give the first external memory algorithm for sparse undirected graphs with sublinear I/O. The best previous algorithm requires (n + n+m D B logM=B n+m B ) I/Os on a graph with n nodes and m edges and a machine with main-memory of sizeM ,D parallel disks, and block size B. We present a new approach which requires only O(qn (n+...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004